<template>
	<view class="uni-flex uni-row header">
		<view class="uni-flex uni-row left">
			<text class="text">轮灌</text>
			<image class="img" src="/static/image/mipmap-xhdpi/arrow.png" mode=""></image>
		</view>
		<intel-irri-state class="middle" :state="state"></intel-irri-state>
	</view>
</template>

<script>
	import intelIrriState from './intel-irri-state.vue'
	export default {
		data(){
			return {
			}
		},
		components:{
			intelIrriState
		},
		props:{
			state: {
				type: Boolean,
				required: true
			}
		}
	}
</script>

<style lang="scss" scoped>
	.header{
		justify-content: left;
		align-items: center;
		.left{
			width: 280.18rpx;
			height: 51.58rpx;
			border: 1px solid #299384;
			border-radius: 11.72rpx;
			border-left-width: 0;
			border-right-width: 0;
			justify-content: center;
			align-items: center;
			margin: 0 35.16rpx 0 28.13rpx;
			.text{
				font-size: 35.16rpx;
				letter-spacing: 0.5em;
				font-family: SourceHanSansCN;
				font-weight: 400;
				color: #1D786C;
			}
			.img{
				width: 35.16rpx;
				height: 17.58rpx;
			}
		}
		.middle{
			// width: 137.16rpx;
			// height: 41.03rpx;
			// border-radius: 11.72rpx;
			
			// text-align: center;
			// font-size: 21.1rpx;
			// font-weight: 400;
			// color: #FFFFFF;
			// line-height: 41.03rpx;
		}
	}
</style>
